<?php

namespace Yz\modules\Modules;

class Template_BlockModulesList
    extends \Yz_Template_Native
    implements \Yz_Template_Interface
{

    protected function doRender()
    {
        $val =& $this->value;

        $module = Module::getInstance();
        $val['modulesList'] = $module
            ->selectModel("List")
            ->fetchWebModulesList()
            ;
        return parent::doRender();
    }

}
